package cn.com.self.apis.init;

import cn.com.self.apis.portal.service.intf.IDatatypeGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class InitClass {

    @Autowired
    private IDatatypeGroupService datatypeGroupService;

    public InitClass() {
    }
    @PostConstruct
    public void init() {
        datatypeGroupService.initDatatypeRedis();
    }
}

